package com.cwh.taskcenter.task;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author cwh
 */
@Schema(description = "领取任务")
@Data
public class TaskReceiveCmd {

    @Schema(description = "任务Id")
    @NotNull(message = "任务Id不能为空")
    private Long taskId;

    @Schema(description = "用户Id")
    @NotNull(message = "用户Id不能为空")
    private Long userId;

}
